<div class="news">
	<div class="list">
		<!-- <a>o2o模式</a>
		<a href="#">为什么要买科技呢</a>
		<a href="#">大家立刻就会你们，地方的方式的撒</a>
		<a href="#">这个新闻你要看挺好的</a> -->
		{{#each $Cache.dotnar_news.list}}
		<a href="#default/news?id={{_id}}">{{info.title}}</a>
		{{/each}}
	</div>


	<div class="text">
		{{#if $Cache.dotnar_news.current_news}}
			<div>{{#layout 'news-content','$Cache.dotnar_news.current_news'}}</div>
		{{#else}}
			<div>{{#layout 'news-content','$Cache.dotnar_news.first_news'}}</div>
		{{/if}}
	</div>
</div>
<xmp type="template" name="news-content">
	<div class="title"><h1>{{info.title}}</h1></div>
	<div class="author">
		<span>{{info.author}}</span>
		<span>{{#Time createTime}}</span>
	</div>

	<div class="mainbody">
		{{HTML info.content}}
	</div>
</xmp>